package com.fjh.model;

import com.fjh.domain.UserAddr;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@ApiModel("订单确认的结果")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderVo {
    @ApiModelProperty("用户的收货地址")
    private UserAddr userAddr;

    @ApiModelProperty("店铺集合")
    private List<ShopOrderResult> shopCartOrders;

    @ApiModelProperty("实际的支付金额")
    private BigDecimal actualTotal;

    @ApiModelProperty("商品的总价")
    private BigDecimal total;

    @ApiModelProperty("订单商品总数")
    private Integer totalCount;

    @ApiModelProperty("订单运费")
    private BigDecimal transfee;

    @ApiModelProperty("满减优惠")
    private BigDecimal shopReduce;

    @ApiModelProperty("买家备注")
    private String remarks;
}
